package bookdemo.MPService;

import bookdemo.domain.Book;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
//目前使用，mbp的业务层
public interface MPBookService extends IService<Book> {
    Boolean update(Book book);
    Boolean delete(Integer id);
    IPage getname(String name);
    IPage<Book> getPage(int currentPage, int pageSize, Book book);
    IPage<Book> getPage(int currentPage, int pageSize);




}
